<?php

#echo $this->doctype('HTML5'); ?>

<?= $this->doctype() ?>
<html>
<head>
<?= $this->headTitle('phpIP - IP portfolio management') ?>
<?= $this->headMeta() ?>
<?= $this->headLink()->appendStylesheet($this->baseUrl('/css/layout-screen-new.css'), 'screen')
	->headLink()->prependStylesheet($this->baseUrl('/js/css/custom-theme/jquery-ui-1.8.17.custom.css'), 'screen'); ?>

<? $this->headScript()->appendFile(
    '/js/jquery-1.7.1.min.js',
    'text/javascript'
    ); ?>

<? $this->headScript()->appendFile(
    '/js/encoder.js',
    'text/javascript'
    ); ?>

<? $this->headScript()->appendFile(
    '/js/jquery-ui-1.8.17.custom.min.js',
    'text/javascript'
    ); ?>

<? $this->headScript()->appendFile(
    '/js/jquery.jeditable.js',
    'text/javascript'
    ); ?>
    
<? $this->headScript()->appendFile(
    '/js/jquery-custom-function.js',
    'text/javascript'
    ); ?>

<?= $this->headScript()->appendFile(
    '/js/jquery.selectbox-0.5.js',
    'text/javascript'
    ); ?>
    
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
</head>
<body<?= 0 != count($this->routeContext) ? ' class="' . implode(' ', array_unique($this->routeContext)) . '"' : '' ?> class="tundra">
<div id="header">
<div id="header-inside">
    <div id="logo"><a class="header-link" href="http://www.omnipat.fr"><span class="icon-omnipat"></span>phpIP</a></div>
<div id="header-right">

<?php
    if ($this->login && $this->login != "" ){ ?>

<div id="loggedin"><?php  echo "Connected as " . $this->firstname;?></div>
<?= $this->render('content-left.phtml') ?>

<?
    }

?></div>
</div>
</div>
<div id="page">
    <div id="content">
        <div id="content-body">
		<?= $this->render('content-inner-header.phtml') ?>
            <div id="content-layout">
                <?= $this->layout()->content ?>
            </div>
        </div>
    </div>
</div>

</body>
</html>
